﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace Sys.Api
{
    /// <summary>
    /// Json消息
    /// </summary>
    public class JsonMsg
    {
        /// <summary>
        /// 操作结果
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 传送数据
        /// </summary>
        public string Data { get; set; }

        /// <summary>
        /// 操作消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 构造函数属性初始化
        /// </summary>
        public JsonMsg()
        {
            Success = false; Data = string.Empty; Message = "操作失败!";
        }
    }
}